Skip to content

Preflight WCIF saves - #85

Merged
coder13 merged 2 commits into
mainfrom
codex/wcif-check-endpoint
Aug 10, 2026
Merged

Preflight WCIF saves#85
coder13 merged 2 commits into
mainfrom
codex/wcif-check-endpoint

Conversation

@coder13

@coder13 coder13 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • validate the complete WCIF through the WCA /wcif/check endpoint before saving
  • retain the existing partial WCIF PATCH after validation succeeds
  • show WCA API error details in the save notification

Why

WCA will enforce strict schema validation for WCIF PATCH requests. Preflighting the complete document prevents an invalid update from reaching PATCH and gives delegates the server's actionable error message.

Validation

  • yarn test (368 passing)
  • yarn check:type
  • yarn lint (existing warnings only)
  • yarn build

coder13 added 2 commits July 12, 2026 10:09
Validate the complete WCIF with the WCA check endpoint before PATCHing changed fields, and surface API error details to delegates.
Fetch version 2 WCIF data while retaining the existing PATCH endpoint and preflight validation flow.
@coder13
coder13 marked this pull request as ready for review August 10, 2026 15:01
@coder13
coder13 merged commit 0df3cc2 into main Aug 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant